Towards Algebraic Query Optimisation for XQuery

نویسندگان

  • Markus Kirchberg
  • Faizal Riaz-ud-Din
  • Klaus-Dieter Schewe
  • Alexei Tretiakov
چکیده

XML-based databases have become a major area of interest in database research. Abstractly speaking they can be considered as a resurrection of complex-value databases using constructors for records, lists, unions plus optionality and references. XQuery has become the standard query language for XML. As XQuery is a declarative query language, the problem of query optimisation arises. In this paper an algebraic approach to query optimisation is introduced. This is based on a translation of XQuery into a query algebra for rational tree types. The algebra uses simple operations on types and structural recursion for lists. The translation exploits linguistic reflection for the type-safe expansion of path expressions. The availability of an algebraic representation of queries permits query rewriting, which in combination with cost heuristics permits queries to be rewritten and thus optimised.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An algebraic approach to XQuery optimization

As more data is stored in XML and more applications need to process this data, XML query optimization becomes performance critical. While optimization techniques for relational databases have been developed over the last thirty years, the optimization of XML queries poses new challenges. Query optimizers for XQuery, the standard query language for XML data, need to consider both document order ...

متن کامل

Normalization and Translation of XQuery

Early approaches to XQuery processing proposed proprietary techniques to optimize and evaluate XQuery statements. In this chapter, we argue for an algebraic optimization and evaluation technique for XQuery as it allows us to benefit from experience gained with relational databases. An algebraic XQuery processing method requires a translation into an algebra representation. While many publicatio...

متن کامل

Three Cases for Query Decorrelation in XQuery

We present algebraic equivalences that allow to unnest nested algebraic expressions for order-preserving algebraic operators. We illustrate how these equivalences can be applied successfully to unnest nested queries given in the XQuery language. Measurements illustrate the performance gains possible our approach.

متن کامل

Mapping XQuery to Algebraic Expressions

High-level database query languages are usually declarative. Typical examples are SQL, XQuery, and QBE. In this way users can express even complex queries without the need of strong technical knowledge. However, the underlying system must choose a good sequence of operations to execute the queries. This can be done by translating them into algebraic expressions, and by using algebraic equivalen...

متن کامل

Algebraic XQuery Decorrelation with Order Sensitive Operations

XQuery, the defacto XML query language, is typically composed of highly nested expressions. Iterative execution of such expressions tends to be intuitive but inefficient. Instead, decorrelation of nested XQuery expressions opens up the opportunity for significant query optimization. Although several algorithms have been proposed to optimize nested XQueries, these works pay little attention to t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006